<?php //kpr($variables['view_mode']);?>
<?php $data = $node->field_blog_multimedia['und'];?>

<?php if($variables['view_mode'] == 'teaser'):?>
    <h2><a href="<?php print $node_url;?>"><?php print $title;?></a></h2>
       <?php print render($content['body']);?>
<?php else :?>
    <article  class="post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized tag-portfolio tag-showcase blog-article v1 normal">
        <?php if($data >0):?>
            <div class="media">
                <div class="blog-multimedia">
                    <?php foreach($data as $value):?>
                        <div class="item"><img style="width: 825px;height: 498px" src="<?php print file_create_url($value['file']->uri);?>"></div>
                    <?php endforeach;?>
                </div>
            </div>
        <?php else:?>
            <div class="media">
                <div class="item"><img style="width: 825px;height: 498px" src="<?php print file_create_url($data[0]['file']->uri);?>"></div>
            </div>
        <?php endif;?>
        <div class="content post_format_standart">
            <ul class="shares">
                <?php if(isset($content['sharethis'])): print render($content['sharethis']); endif?>
            </ul>
            <h1><a href="<?php print $node_url;?>"><?php print $title;?></a></h1>
            <div class="blog-content">
                <?php print $content['body'][0]['#markup'];?>
            </div>
            <div class="information">
                <span>Posted by <?php print $node->name;?> / Posted on  <?php print format_date($node->created,'custom','j M');?></span>
            </div>
            <?php //print render($content['links']); ?>
            <?php print render($content['comments']);?>
        </div>
    </article>
<?php endif;?>